package com.czmini.cztest.dto.user;

import com.czmini.cztest.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @ProjectName: cztest
 * @Package: com.czmini.cztest.dto.user
 * @ClassName: LoginUserDto
 * @Author: 还是那个橙子
 * @Description:
 * @Date: 2022/3/25 19:22
 * @Version: 1.0
 */
@ApiModel(value="用户登录对象",description="用户对象user")
@Data
public class LoginUserDto extends BaseDto {

    @ApiModelProperty(value="用户名",name="username",required=true,dataType="String",notes="唯一不可重复",example="tester")
    private String userName;

    @ApiModelProperty(value="用户名",name="password",required=true,dataType="String",notes="字母+数字，6-18位",example="tester123")
    private String password;

}